package com.lmt.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.lmt.base.BaseEntity;

/**
 * 收藏表
 * Date 2018/7/17
 *
 * @author MT-Lin
 */
@Entity(name = "collection")
public class Collection extends BaseEntity {

	/**
	 * 收藏夹ID
	 */
	@Column(name = "collection_folder_id", nullable = false, length = 36)
	private String collectionFolderId;

	/**
	 * 收藏对象ID
	 */
	@Column(name = "obj_id", nullable = false, length = 36)
	private String objId;

	/**
	 * 创建人
	 */
	@Column(name = "creator", nullable = false, length = 36)
	private String creator;

	public String getCollectionFolderId() {
		return collectionFolderId;
	}

	public void setCollectionFolderId(String collectionFolderId) {
		this.collectionFolderId = collectionFolderId;
	}

	public String getObjId() {
		return objId;
	}

	public void setObjId(String objId) {
		this.objId = objId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}
}
